package com.v2future.sjt.collegecheckingattendance.rollcall.bean;

import android.widget.Checkable;

public class StudentBean implements java.io.Serializable {
    private static final long serialVersionUID = 7638862174976316561L;
    private String userName;
    private String userCode;
    private String pkUserId;
    private String leaveType = "0";//学生请假状态 0正常 1审批完成 2待审批 3缺席 4迟到0
    private boolean absent;//ps缺席标识

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return this.userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPkUserId() {
        return this.pkUserId;
    }

    public void setPkUserId(String pkUserId) {
        this.pkUserId = pkUserId;
    }

    public boolean isAbsent() {
        return absent;
    }

    public void setAbsent(boolean absent) {
        this.absent = absent;
    }

    public void toggleAbsent(){
        absent = !absent;
    }

    public String getLeaveType() {
        return leaveType;
    }

    public void setLeaveType(String leaveType) {
        this.leaveType = leaveType;
    }
}
